﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<NETMovie.UI.WebMVC.Models.MovieViewModel>>" %>

    <table>
        <tr>
            <th class="th_color">Search Result</th>
        </tr>

    <% foreach (var item in Model) { %>
    
        <tr>
            <td>
              
                <%: Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ })%> |
              
            </td>
        </tr>
    
    <% } %>

    </table>

    <p>
        <%: Html.ActionLink("Create New", "Create") %>
    </p>


